package com.example.mybatisplus.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.HOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yfy
 * @since 2021-12-30
 */
@Repository
public interface HOrderMapper extends BaseMapper<HOrder> {
    List<HOrder> selectByIds(long id);

    void updateBack(Long id);

    void updateBack1(Long id);
//    Page<HOrder> getOrderWithUser(@Param("page") Page<HOrder> page,@Param("order") HOrder order);
}
